<?php
return array(
	'class' => 'EditAction',
	'formView' => array(
		'fields' => array(
			'id' => false,
			'object_type' => false,
			'status' => false,
			'pay_type' =>array('dropDownList',Yii::app()->enum->options('order.payType')),
			'create_time'=> false,
			'update_time'=> false,
			'remark' => false,
			'_with' => array(
				'receiverInfo.receiver',
				'receiverInfo.email',
				'receiverInfo.mobile',
				'receiverInfo.province' => array(
					'class' => 'LinkageField',
					'name' => 'district',
					'fields' => array(
						array('receiverInfo.province', 1),
						array('receiverInfo.city', 2),
						array('receiverInfo.district', 3)
					)
				),
				'items.item_num',
				'remark' => array('class' => 'RichtextField', 'params' => array('htmlOptions'=>array('style'=>'width:500px;height:200px;'))),
			),
		),
	),

	'_import' => array(
		array('*', 'actions.edit//*'),
	),
);
